@flex_center: {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
};

@box: {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
};

@bor_20: {
  border-top: 20rpx solid RGBA(240, 242, 245, 1);
};

.bg_color(@color) {
  background-color: @color;
}

.br_rds(@Degrees) {
  border-radius: @Degrees;
}

.wh(@h) {
  width: @h;
  height: @h;
}

page {
  .bg_color(RGBA(239, 239, 244, 1));
}

/*头部信息*/
.head {
  width: 100%;
  // height: 760rpx;
  .bg_color(RGBA(68, 138, 202, 1));

  .head_title {
    width: 100%;
    height: 178rpx;
    .bg_color(RGBA(82, 167, 244, 1));
    @box();
    padding: 30rpx;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    .head_left {
      width: 50%;
      height: 100%;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;

      .head_val {
        width: 116rpx;
        height: 116rpx;
        border: 8rpx solid rgba(255, 255, 255, 1);
        .br_rds(50%);
      }

      .head_user {
        width: 200rpx;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin-left: 10rpx;

        .title {
          font-size: 30rpx;
          font-family: SourceHanSansCN-Regular;
          font-weight: 400;
          color: rgba(255, 255, 255, 1);
        }

        .mintitle {
          font-size: 26rpx;
          font-family: SourceHanSansCN-Regular;
          font-weight: 400;
          color: rgba(163, 211, 255, 1);
          margin-top: 10rpx;
        }
      }

      .head_number {
        width: 130rpx;
        height: 100%;
        // ;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: distribute;
        -webkit-box-pack: center;
        justify-content: center;
      }

      .head_number_2 {
        width: 220rpx;
        height: 100%;
        // .bg_color(blue);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: distribute;
        -webkit-box-pack: center;
        justify-content: center;
      }

      .number {
        font-size: 24rpx;
        color: rgba(255, 255, 255, 1);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-line-pack: center;
        align-content: center;
        margin-top: 15rpx;
      }

      .other {
        // font-size: 24rpx;
        color: rgba(255, 226, 29, 1);
        padding: 0rpx 5rpx;
      }
    }
  }

  /*线条*/
  .line {
    width: 100%;
    height: 9rpx;
    .bg_color(RGBA(61, 124, 181, 1));
  }
  .head_mywrap {
    width: 100;
    overflow: hidden;
    background-image: url('http://mywx.zzvlm.com/BG.png');
    background-size: 100% 100%;
    padding-bottom: 20rpx;
  }
  .head_user {
    width: 100%;
    overflow: hidden;

    .head_user_title {
      font-size: 36rpx;
      font-family: SourceHanSansCN-Regular;
      font-weight: 400;
      color: rgba(255, 255, 255, 1);
      text-align: center;
      margin-top: 26rpx;
    }

    .head_user_group {
      width: 100%;
      @box();
      padding: 0rpx 40rpx;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;
      margin-top: 40rpx;

      .head_user_item {
        width: 33%;
        height: auto;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;

        .head_user_item_title {
          font-size: 36rpx;
          font-family: SourceHanSansCN-Regular;
          font-weight: 400;
          color: rgba(255, 255, 255, 1);
        }

        .head_user_item_mintitle {
          font-size: 26rpx;
          font-family: SourceHanSansCN-Regular;
          font-weight: 400;
          color: rgba(163, 211, 255, 1);
          margin-top: 20rpx;
        }
      }
    }

    .head_user_scope {
      width: 640rpx;
      margin: 0 auto;
      margin-top: 35rpx;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;

      .head_user_scope_item {
        width: 281rpx;
        height: 65rpx;
        border: 1rpx solid rgba(255, 255, 255, 1);
        .br_rds(10rpx;);
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;

        .icon {
          .wh(40rpx);
        }

        .title {
          font-size: 30rpx;
          color: rgba(255, 255, 255, 1);
          margin-left: 20rpx;
        }
      }
    }
  }

  .recle {
    width: 171rpx;
    height: 171rpx;
    background: rgba(255, 255, 255, 1);
    border: 9rpx solid rgba(82, 167, 244, 1);
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 50rpx;
    font-size: 40rpx;
    font-family: SourceHanSansCN-Regular;
    font-weight: 400;
    color: rgba(68, 138, 202, 1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

/*日历组件*/
.calendar_wrap {
  width: 100%;
  height: auto;
  .bg_color(white);
  @box();
  padding: 20rpx 0rpx;

  .title {
    color: #448aca;
    font-size: 24rpx;
    text-indent: 30rpx;
  }

  .scope {
    width: 99rpx;
    height: 75rpx;
    display: block;
    margin: 0 auto;
    margin-top: 50rpx;
  }
}

/*书友*/
.book_friend {
  width: 100%;
  height: auto;
  @box();
  padding: 50rpx;
  .bg_color(rgba(255, 255, 255, 1));
  margin-top: 22rpx;

  .book_head {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    .title {
      font-size: 28rpx;
      color: rgba(51, 51, 51, 1);
    }

    .title_scope {
      display: block;
      width: 133rpx;
      height: 35rpx;
    }
  }

  .book_list {
    width: 100%;
    height: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 40rpx;

    .item {
      width: 210rpx;
      height: auto;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;

      .item_val {
        .wh(88rpx);
        .bg_color(RGBA(191, 191, 191, 1));
        .br_rds(50%);
        z-index: 5;
      }

      .item_res {
        width: 100%;
        height: auto;
        @box();
        padding: 25rpx;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        margin-top: -44rpx;
        background: rgba(243, 243, 243, 1);
        border-radius: 6rpx;

        // justify-content: center;
        .res_title {
          font-size: 27rpx;
          color: rgba(51, 51, 51, 1);
          text-align: center;
          margin-top: 36rpx;
        }

        .res_sex {
          font-size: 24rpx;
          font-family: SourceHanSansCN-Regular;
          font-weight: 400;
          color: rgba(153, 153, 153, 1);
          margin-top: 16rpx;
        }

        .res_button {
          width: 114rpx;
          height: 48rpx;
          .bg_color(rgba(68, 138, 202, 1));
          .br_rds(5rpx);
          margin-top: 30rpx;
          text-align: center;
          line-height: 48rpx;
          color: rgba(255, 255, 255, 1);
          font-size: 24rpx;
        }
      }
    }
  }
}

/*搜索组件*/
.seacher_group {
  width: 100%;
  height: 203rpx;
  @box();
  padding: 0rpx 70rpx;
  .bg_color(rgba(255, 255, 255, 1));
  margin-top: 22rpx;
  overflow: hidden;

  .seach_wrap {
    width: 610rpx;
    height: 61rpx;
    .br_rds(30rpx);
    .bg_color(RGBA(237, 237, 237, 1));
    margin-top: 30rpx;
    @box();
    padding: 0rpx 20rpx;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-size: 30rpx;
    color: RGBA(174, 174, 174, 1);

    .search_box {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: justify;
      -ms-flex-pack: justify;
      justify-content: space-between;

      .serch_ipt {
        width: 430rpx;
        height: 100%;
        font-size: 28rpx;
        color: RGBA(174, 174, 174, 1);
        margin-right: 20rpx;
      }

      .iconfont {
        margin-right: 20rpx;
        font-size: 35rpx;
        color: RGBA(174, 174, 174, 1);
      }

      .search_button {
        color: RGBA(68, 138, 202, 1);
        font-size: 28rpx;
        margin-left: auto;
      }
    }
  }

  .seach_tab {
    width: 610rpx;
    height: 111rpx;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    .tab_item {
      width: 25%;
      height: 111rpx;
      position: relative;
      font-size: 34rpx;
      color: rgba(51, 51, 51, 1);
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
    }

    .tab_item_active {
      color: rgba(68, 138, 202, 1);

      &:after {
        content: '';
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        position: absolute;
        width: 40rpx;
        height: 8rpx;
        background: rgba(68, 138, 202, 1);
        border-radius: 4rpx;
      }
    }
  }
}

//列表
.mess_list {
  width: 100%;
  height: auto;
  margin-top: 1rpx;
  .bg_color(rgba(255, 255, 255, 1));

  .mess_head {
    width: 100%;
    @box();
    padding: 40rpx 30rpx;
    border-bottom: 1rpx solid RGBA(228, 228, 228, 1);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;

    .mess_val {
      .wh(96rpx);
      .br_rds(50%);
    }

    .mess_detail {
      width: 560rpx;
      height: auto;

      .detail_info {
        width: 100%;
        height: 96rpx;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;

        .detail_info_name {
          font-size: 27rpx;
          color: rgba(51, 51, 51, 1);
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -webkit-box-align: center;
          -ms-flex-align: center;
          align-items: center;

          .name {
            font-size: 30rpx;
            margin-right: 5rpx;
          }

          .age {
            margin-right: 5rpx;
          }

          .read_res {
            .res_number {
              color: rgba(255, 0, 0, 1);
            }
          }
        }

        .detail_info_time {
          font-size: 27rpx;
          color: rgba(154, 154, 154, 1);
          margin-top: 10rpx;
        }
      }

      .detail_res {
        width: 100%;
        margin-top: 22rpx;

        .res_text {
          color: rgba(51, 51, 51, 1);
          font-size: 28rpx;
        }

        .img_group {
          width: 100%;
          margin-top: 22rpx;
          display: -webkit-box;
          display: -ms-flexbox;
          display: flex;
          -ms-flex-wrap: wrap;
          flex-wrap: wrap;

          .img_list {
            .wh(180rpx);
            border: 1rpx solid rgba(228, 228, 228, 1);
            margin-right: 20rpx;
            margin-top: 20rpx;
          }
        }
      }
    }
  }

  .mess_scope {
    width: 100%;
    height: 100rpx;
    @box();
    padding: 0rpx 30rpx;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;

    .scope_item {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: stretch;
      -ms-flex-align: stretch;
      align-items: stretch;
      margin-left: 30rpx;

      .scope_icon {
        .wh(36rpx);
        margin-right: 15rpx;
      }

      line-height: 36rpx;
      color: rgba(198, 198, 198, 1);
      font-size: 27rpx;
    }
  }
}
